import re


def email_valid(email_str):
    if re.match(r'^[a-zA-Z0-9\.]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]+$', email_str):
        return True
    else:
        return False


def phone_valid(phone_str):
    if re.match(r"1[356789]\d{9}", phone_str):
        return True
    else:
        return False
